fixed some ugs
fixed logged in error on homepage logged out
added a basic file uploader