Made login more user-friendly.