Adds maxlength to username. Closes #467