getting login working