Fixing the post-sign-in check