private function authenticateUser($token)
    {
        $this->imgur->setAccessToken($token);
        // Refresh the token if neccessary
        if($this->imgur->checkAccessTokenExpired())
        {
            $this->imgur->refreshToken();
        }
    }