completed basic login/logout implementation. Up to 8.4.1