Adds login/logout urls and templates.