fix login action