made login more user friendly