logout functionality and improved backoffice layout