Fixes upload button for logged in users