validation for signup and myfiles page