Updated model.
Added authentication and admin page.