Login

Make sure your application has been initialized before attempting to login.

App.Login's fields are (Username, Password);

App.Login("username", "Password123/").then(loginResponse => {
if(loginResponse.error == false){
console.log(loginResponse.message);
} else {
console.log(loginResponse.message);
}
})