fixing login action and rotator