Successfully stored user in the localStorage