adding the new pages and new code from learning rails