Working on the LoginListener