redirect after login into previous page work fine