added a locale field to user_profile

this can be used for sending automated emails in the user's preferred language if the site supports it