update active user auto redirect to homepage