added some dependences for hibernate, so there are no mistakes now.

login form is still in working