Added login to application and added require-js