removed Request object from submit method since it added unnecessary complexity to the client side. Fixed unit test.