setting username to lowercase when registering