almost login working