changed login button to edit and linked with edit page