added login/register template login.html, redir from / if not logged in