Added handlebars, and implemented dynamic page switching. Login/register/logout also redirect to the page you were on before the action.