Add shared preferences after login validation