Fixed issue with having usernames with periods or dashes