A register and login demo with node and redis