Adding login capability