Added settings page, settings storage and key verification