Fixed image uploading

Just made it so we use session data to get username for image uploading