Login backend fixed