Added code to return user object from UserDAO