gan upload is working in rough form, but logs you out every time