Added basic user defaults functionality