fixed image uploading, and display inheader

heres another problem, form.user_avatar.data is a FileInput object, or somthing like that, long story short it cant be put into a database, because it dosent know what about it to save. In this case since we just need to access the file at some point in the future we just need to know its location, so thats what im passing it