move add function to issues controller