Reworked profile functions

Setting profile information including images is now completed.