get login working