     }
 
     class func isUserLoggedIn() -> Bool {
-        let token = OAuthToken.oAuthTokenWithScope(kOauth2ScopeFull)
-        if token == nil {
-            return false
-        }
-        return true
+        return OAuthToken.oAuthTokenWithScope(kOauth2ScopeFull) != nil
     }
 
     func removeFromKeychainIfNoAccessToken() {

    }

    func password() -> String? {
        if scope == kOauth2ScopeFull{
            return refreshToken
        }else {
            return accessToken
        }
    }

    func storeInKeyChain() {

    }

    func canBeRefreshedByRefreshToken() -> Bool {
        return scope == kOauth2ScopeFull
    }

    class func moveOldOAuthTokensIfPresent() {
        if ((LUKeychainAccess.standardKeychainAccess().stringForKey(kKeychainAccessRefreshTokenKey) as String?) != nil) {
            LUKeychainAccess.standardKeychainAccess().setObject(nil, forKey: kKeychainAccessRefreshTokenKey)
        }
    }
