fixing stuff to reflect login/logout