added xml requests to controllers