Broke out Set Login / Logout Button into it's own function