register redirect

when uploading without beeing logged in you are redirected to register.php