login button now reflecting correct state