login db working. in the process of adding unit search