Try to fix the header issue.
reorder the application.js requirements.
Solve the signout link problem by reordering the application.js file