Remove superfluous <div> tags and set maxlength for user name field