BitBucket: Added some validation to the user endpoint