fixed guest login bug