Added rails boilerplate and authentication.