Added views and authentication.