option to login via username or password