added account and using session management with localStorage