Added events to some back buttons. Fixed bug with email verification and an error with creating a lot of threads