Storage user credentials in localStorage