fixed a few bugs, got disabled buttons working, not sure if emails are working properly