Assets

Changed the asset function used to make it easier and get it ready for
the avatar uploading