Setuped Hibernate.

Implemented users slases. Setuped Hibernate.