Replaced get all users method in hibernate dao

replaced get all users method in hibernate dao with a regular SQL query