Partially fixed a bug when no user is logged and the application loads ProfileSettingsView