added client side validations
added length validation to username