bugs fixed, result dislayed once after login