improved promise bindle for logins