added the login and register templates and made few UI modifications