user can log out and be back on homepage without messages and with register button