login field fixes, TODO: cookie remembering isn't working