checked user loogedin and user connected status in test files