add login and logout pages