Added rails-settings and rest-client.
Added agent_id to User model.
Created ticket retrieval  for Agents and Manager.