Check for browser before doing account stuff.