fix enterSite function reason for adding get api in server.js,other i can use karma !