rendering index with handlebars, tweaked login