added Session and clear Session link to application.erb
fiex broken edit form
more test documentation, fixed a few typos, explicitly defined the set vidnums instead of using function defaults (more readable)