Fix bug in User route.