move user header ajax inline to prevent errors that keep occuring