add tests for get username and change to case insensitive login