Update AgentController.java

fixing the AgentController based on the defect detected in the test cases. 

Now the controller redirct to the input forms and re-insert the factions list into the model