almost have login working