added custom login features