Updated User model to only show json responses