Check if username is taken using AJAX. Closes #26.