Finished the edit page functionality for admin and normal users