first session login bug fixed