Adding e-mail in server and REST/JSON support in iOS.