add logged in checks for postin and new topics and added vagrant file