Added proper saving of users in localStorage, fixed time updates