vastly improved user login/logout system