Added relationships between restaurantusers, users, and restaurants, and added validations for restaurant_id and user_id