removed user listing for js autocomplete from header
revamped queries
removed some functions for debugging
uncommented redirect and removed print/debug