Save settings

This is a simple pull request. I may want to add more to it to automatically populate a user object.