Working on login stuff and flash