Added ActionView to add queries