closer to getting login working