added new switchToidentity function to userModel