fix login / auth methods