Create logout, add flash messages and sign-up and login/logout links to layout