added validation for uniqueness of username, and presence of project_id