Added views struct
Added json fiedls to user struct
fixed user struct parts