Fixed a few compiling errors.

I fixed some compiling errors on the viewuser file.

I don't know why GitHub is saying I changed the entire file, so maybe you will have to do a manual compare to find the real changes, sorry.