User can now update their profile. Only function not working is the updating of the avatar; this is to be done next.