Re-added default value
Removed access of $_GET
Changed ajax call to load only when user is logged out