added image uploading, some nicer looks, logged in middleware