Add ability to edit and update users. Additionally, some bugs detected and corrected