redirecting to index should automatically prompt for login if user is logged out before updating