Fix bug with accounts and user connection