Added method to User model to get the currently logged in user