fixed logins - almost.