Made user_id input take priority over session in getCurrUserInfo