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