added request to controller object, added correct code to parse request.