fixed errors that were causing the songs not to be displayed (leading to a NoMethodError); also fixed some other stuff that were error prone in the book. still need to iron out issues that lead to songs not getting displayed if they don't have a defined length attribute. yep. pretty happy with myself, atleast momentarily
reverted the last few changes after looking at them with fresh eyes. turns out the instructions were good, just some minor hiccups in the way i had set up the main.rb file; reverted those changes, and added the route handlers in the song.rb file; also added a released_on method to the class Song so that they'll convert the value entered into a Date object in ruby.
runs on localhost. everything is complete. yay! now to try and get this on the web
implemented a simple login mechanism using configuredo ...code... end; created a login  page route handler and a login page; created a post login route handler that turns session[:admin] to true if username and password match; and created a logout that clears sessions so as to revoke access/logout. also added halt(401, 'Some Message') unless session[:admin] on top of route handlers to protech creating, updating, editing, deleting songs