User can now create new functions (editting existing function is still wonky)