add in a login method