Fixed restrictions on user_id