Fix deploy; make it work for logged out