feat(userDetails): saving userDetails to localStorage after login.