fixed bug with case sensitive usernames