added nice green and red bar to teachers' dashboard + some tweaks to activerecord classes