Implemented the JdbcDaoImpl for authenticating users by groups of authorities