closes #9 Created common template for login/register