Changing pswd services to annotation for hibernate