added router action to ensure that only registered users can access the post submission page