redirect to averages page on login