login adapted to right database

(: