Changes to use custom login page