get method for settings (when user doesnot logged in