got the basic login working