added login and logout links to front end