Added in Login functionality to a user's profile