changed alot of thing, added mail notification system