Added preference manager after login