This is a basic user authentication with Active Record Validations featured on my blog Aug 4th.