adding redirect after registering