After logging in return to previous URL instead of 'exec'