Only logged user can create a new post now; realized that insertion to database won't be finished at instantly