Added getUser method to userTable. Add functionality for plain user