Added config handler for saving credentials and subreddit preferences