Creating a new system of login with localStorage