path change and add login page