Comment Comment by pmontra The sweet spot is using some well known library. A classic in the Rails world is Devise. There is usually one for any language or framework. parent pmontra 5 years ago