Rewrote the listener and added sign functionality. Currently does not work.