returned to old version, added the removehandler function to the signIn action