Login bugfix, time range for charts