Example of authentication and stuff in Rails.