fix issue with path and login page