made upload redirect to new image, display upload when not logged in