Add functions for configuring a custom login page