user type management and profile picture uploading