redirect to apply page after login