Hibernate, Postgres and User service.

Updated the data base to be used to Postgres. Likewise, the session
manager was created to manipulate the hibernate connection.