Added controller for changing status and location