Almost finished sign in-out - problems with sign out