Add required and maxlength for user name