 
     /// The service that the authentication data is saved under in the keychain.
     var service: String {
-        return "HomeControl"
+        return AuthenticationData.KeychainService
     }
 
     /// The account that identifies the authentication data in the keychain.


/// Contains all data necessary to authenticate a user at the server.
struct AuthenticationData {

    //MARK: Properties



    /// Data that's saved in the keychain.
    var data: [String: AnyObject] {
        return [KeychainDataKey.Password.rawValue: password, KeychainDataKey.ServerAddress.rawValue: serverAddress]
    }
}

