Add redirect on login and more