public function getValidLoginToken($token, $limit) { return $this->loginToken->where('token', $token)->where('updated_at', '>', $limit)->first(); }