If you’re building a web application with a database, you may want more than one user, which means adding row-level security, and authentication.  Rails helps with a cool gem called Devise.  Devise creates a User table and views to authenticate into the web app with a session, and then you can add authentication to each view to make sure you have a valid session to see that view.