added validations and usernames