Update login method to create user