added social account api & put user_id in rest apis