Register actions handlers into fluxapp that will be passed onto any context created.
See Actions for more information
fluxapp.registerActions('user', {
login: function() {
// gets the user object after loging in
return user;
},
logout: function() {
return null;
}
});
On to registerStores(stores)