Final version for now. Attemped to create the functionality to edit users, but after 4 hours could not get it to work, so relevant materials where deleted.