public ArrayList<NoteModel> getStoredNotes() {
		System.out.println("sessionFactory - " + sessionFactory);
		session = sessionFactory.openSession();
		session.beginTransaction();
		notes = (ArrayList<NoteModel>) session.createCriteria(Note.class).list();
		session.getTransaction().commit();
		session.close();
		return notes;
	}