Get the Preference of login user to work