superclass and alert before logout added
update bugs fixed