imporvements to login v1