fixed login user issues