added current user_id detector