test login works