A CodePen by Ian Pirro. Login & Register form - Kill two birds with one stone... The form will switch from login to register, and back,  based on if the user is already "registered"

Find "registered" users in the js panel.