Fixed annoying case bug in log ins