new login + logout listeners.