case insensitive username/email, logout screen refresh fix