fixerd some issues controller, added model, and changed format of email