some optimization on osc_is_web_user_logged_in() , the same work could be done for the admin user, since we already have a pull-request that merges both, I will not do it as it will be useless once the pull-request is accepted, related to issue #1060
Merge pull request #1600 from conejoninja/sqlopt

some optimization on osc_is_web_user_logged_in() , the same work could b...