Publish and Subscribe push

This push also adds autopublish to make sure users have access to the database.
More will be changed in Sprint 3.