added username and name validations and tests for user