trying to get login working