Error in javascript for authentication in main.html