Fixed usererror, username to lower case and capitalizing