You can check if user login/sign in or no using
<?php echo UserAuth::checkUser(); ?>
Last updated 2 months ago