Added form functionality working