add profilepic endpoint and other small edits