Fixed the path problem of login