These both go to the same controller function? Why? They should have separate functions, otherwise the logic is confusing.