Remove autopublish and secure and added login