implemented forms, sessions, and mail