removed to_json
fixed role fetching
removed format :json