corrected session find_by method on controllers so site is functional again