Use correct host of rails server
Serialize the form correctly
Rename token and include email in the session