Fixing user endpoint