removed redundant login logout handlers