Added check if user is logged in in AJAX vars