Added seperate javascript file to add login authentication menu