login and graphs fix.