Added a method to login as a user from their id