Working settings page functionality when user signed in