adds user info view, refactors json views