How to fix a damaged user account?
You need to put the User ID and Group entries back the way they were. If the screenshot is right, the User ID should be 502, and the Group should always be "staff" on normal accounts.

It's possible there's something else wrong as well, but this'll solve at least part of the problem. One thing to check (after fixing the User ID) is to use the Finder's Get Info to check the home folder -- in the Sharing &amp; Permissions section, make sure the correct user account is listed. If it isn't, do not try to fix it in the Finder; there's a way to fix home folder permissions in Recovery mode that's much less likely to break anything.