Username is saved as lowercase during sign up

See issue: #368