split up user id's logic from user settings