finished profile editing with api endpoint, refactored profile, renamed files, refactored lots of code into services