added username to user table. added rake task to pupulate username from a CSV dump from 18th prod.  sort bu username works. simplified other queries