locate_current_user functionality