Fix bug in user