Catchfunction for form

Added a catchfunction for the admin form, temporarily it only logs out the values.