changed profilepic into a data uri