Removed unused debugs and modified add form.