bringing login and logout page to general layout