added sign-in/sign-out view and template