fixes in user connection