adding login listener. not working atm