Added nameAvailable() trigger, fixed login() work