Add redirect capability to login page