Auto menu link

New forms now creates a new menu link, also secured some functions from injection attacks