adds login capability