added register redirect and forgot passwoprd