Using isset instead of session_is_registerred