angshu|#1085|need to redirect to /home inside the promise resolve