select user_agent from user_mapping where status =1 and userId = ? select user_type from user_mapping where status =1 and userId = ?