Fix JSON API for status to include user information and fix 500 error