/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function login()
 {
     $credentials = array('email' => Input::get('email'), 'password' => Input::get('password'));
     $response = UserSessionHandler::login($credentials);
     return response()->json($response['body'], $response['http_code']);
 }