finish a sample login action