Bug fix on authentication

change all username to lowercase