major code rebase removed router package causing race condition on login, and added handlebars helpers for logical flow.