login activity fix