Added login functionality with handlebars template and userbox on the top left