Add typeahead for referrers, check usernames

feature
1. autocomplete for referrers input
2. check username used as input loss focus
3. add back admin css
4. move javascript inline
[ci skip]