Add change profile

Add possibility of change profile data on backend, and fix some server
bugs, but server shut down when change data