added state and work on forms
moved edit button to tab