Refactored NLP stuff into a class; Added autocompletion to the username text field; Moved javascript from template to a file