updated router, implemented form serialization with jquery-serialize-object