showing logged in status on main page