Bit of refactoring.
Removed redundant code.
Added autocomplete for users. Closes #20.