edit page now works, added validation