User login on any page(by remote server, no password) and relative js and css. HARD TO READ AND MAINTAINgit add .